#ifndef __userB_IIC__
#define __userB_IIC__

extern void Bx_IIC_Initial(void);                   //IIC initial
extern void Bx_IIC_Start(void);                     //IIC start
extern void Bx_IIC_Stop(void);                      //IIC stop
extern void Bx_Ack(void);                           //IIC Master ack
extern void Bx_NoAck(void);                         //IIC Master no ack
extern unsigned char Bx_TestAck(void);              //IIC Master ack Test
extern void Bx_Write8Bit(unsigned char Bx_input);   //write one byte
extern unsigned char Bx_Read8Bit(void);             //read one byte
extern void Bx_IIC_End(void);                       //IIC end

#define DE_Bx_IIC_INITIAL      Bx_IIC_Initial()
#define DE_Bx_IIC_END          	Bx_IIC_End()
#define DE_Bx_IIC_START        Bx_IIC_Start()
#define DE_Bx_IIC_STOP         Bx_IIC_Stop()
#define DE_Bx_ACK              	Bx_Ack()
#define DE_Bx_NOACK            Bx_NoAck()
#define DE_Bx_TESTACK          Bx_TestAck()
#define DE_Bx_READ8BIT         Bx_Read8Bit()

#endif

